package 常用api;

public class Student implements Comparable<Student> {
   public int age;
   public String name;

   @Override
   public int compareTo(Student o) {
      return this.age - o.age;
   }
}
